package com.congxing.bi.util.security;

public class testSecurity {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		try {
		String a = EncryptUtil.encryptToStringWithDES("123");
		System.out.println(a);
		String b = DecryptUtil.decryptFromStringWithDES(a,"BISYSTEM");
		System.out.println(b);
		String c = EncryptUtil.encryptToStringWithMD5("admin");
		System.out.println(c);
		} catch (SecurityException e) {
			
			e.printStackTrace();
		}

	}

}
